package com.gopay.common.domain.bank.cib.ebank;

import java.io.Serializable;

import com.gopay.common.domain.bank.BaseMessage;

/**
 * 兴业银行网关支付对象
 * 
 * @CibMessage.java
 * @author zhengxue
 * @2014-11-20 上午10:35:08 www.gopay.com.cn Inc.All rights reserved.
 */
public class CibMessage extends BaseMessage implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -632217620580183304L;

    // 服务名称
    private String service;
    // 接口版本号,固定 01
    private String ver;
    // 商户代号,定长6位
    private String mrchNo;
    // 二级商户名称
    private String subMrch;
    // 订单编号
    private String ordNo;
    // 订单生成日期,格式为 YYYYMMDD
    private String ordDate;
    // 订单币种
    private String cur;
    // 订单金额
    private String ordAmt;
    // 下单 IP 地址
    private String ordIp;
    // 校验码
    private String mac;

    /*
     * 返回属性
     */
    // 银行代码
    private String bankCode;
    // 支付金额
    private String payAmt;
    // 银行系统流水号
    private String sno;

    // 订单查询失败返回错误码
    private String code;
    // 订单查询失败返回错误信息
    private String msg;
    // 订单查询返回订单状态
    private String orderStatus;

    // 请求银行地址
    private String bankUrl;

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getVer() {
        return ver;
    }

    public void setVer(String ver) {
        this.ver = ver;
    }

    public String getMrchNo() {
        return mrchNo;
    }

    public void setMrchNo(String mrchNo) {
        this.mrchNo = mrchNo;
    }

    public String getSubMrch() {
        return subMrch;
    }

    public void setSubMrch(String subMrch) {
        this.subMrch = subMrch;
    }

    public String getOrdNo() {
        return ordNo;
    }

    public void setOrdNo(String ordNo) {
        this.ordNo = ordNo;
    }

    public String getOrdDate() {
        return ordDate;
    }

    public void setOrdDate(String ordDate) {
        this.ordDate = ordDate;
    }

    public String getCur() {
        return cur;
    }

    public void setCur(String cur) {
        this.cur = cur;
    }

    public String getOrdAmt() {
        return ordAmt;
    }

    public void setOrdAmt(String ordAmt) {
        this.ordAmt = ordAmt;
    }

    public String getOrdIp() {
        return ordIp;
    }

    public void setOrdIp(String ordIp) {
        this.ordIp = ordIp;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getPayAmt() {
        return payAmt;
    }

    public void setPayAmt(String payAmt) {
        this.payAmt = payAmt;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getBankUrl() {
        return bankUrl;
    }

    public void setBankUrl(String bankUrl) {
        this.bankUrl = bankUrl;
    }

}
